import os
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--com', required=True)
args = parser.parse_args()
COM = args.com
os.chdir("../train_side/")

print("trying to put main.py")
os.system(f"ampy --port {COM} put main.py")

print("trying to put bootstrap files...")
os.system(f"ampy --port {COM} put bootstrap")